]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Mark call notifications as critical
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
Mon, 19 Aug 2013 11:07:04 +0000 (13:07 +0200)
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
Mon, 19 Aug 2013 11:22:22 +0000 (13:22 +0200)
So that we are notified about incoming calls even while busy.

https://bugzilla.gnome.org/show_bug.cgi?id=666221

Signed-off-by: Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
js/ui/components/telepathyClient.js

index 72bc0104b085e0e1b20ac956288ea77d0f1d0828..48dbae683fa6d21a3ac304e7d8c4c73b8f7e1638 100644 (file)
@@ -1135,6 +1135,8 @@ const AudioVideoNotification = new Lang.Class({
         this.parent(source, title, null, { customContent: true });
         this.setResident(true);
 
+        this.setUrgency(MessageTray.Urgency.CRITICAL);
+
         this.addButton('reject', _("Decline"));
         /* translators: this is a button label (verb), not a noun */
         this.addButton('answer', _("Answer"));